import {Observer} from "./Observer.js"
// observe --> Observer --> observe
export function observe(val){
    if(typeof val !== "object"){
        return
    }
    var ob;
    if(val.__ob__){
        ob = val.__ob__;
    }else{
        ob = new Observer(val);
    }
    return ob;
}